﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SNAIL.Classes
{
    [Serializable()]
    public class ContactMessages
    {
        private DateTime _LastMessage = new DateTime();

        public DateTime LastMessage
        {
            get { return _LastMessage; }
            set { _LastMessage = value; }
        }

        private DateTime _LastMessageSent = new DateTime();

        public DateTime LastMessageSent
        {
            get { return _LastMessageSent; }
            set { _LastMessageSent = value; }
        }

        private DateTime _LastMessageReceived = new DateTime();

        public DateTime LastMessageReceived
        {
            get { return _LastMessageReceived; }
            set { _LastMessageReceived = value; }
        }

        private List<string> _FromMessages = new List<string>();

        public List<string> FromMessages
        {
            get { return _FromMessages; }
            set { _FromMessages = value; }
        }
        private List<string> _ToMessages = new List<string>();

        public List<string> ToMessages
        {
            get { return _ToMessages; }
            set { _ToMessages = value; }
        }
        public ContactMessages()
        {
            _FromMessages = new List<string>();
            _ToMessages = new List<string>();
        }

        public ContactMessages(List<string> FromMessages, List<string> ToMessages)
        {
            _FromMessages = FromMessages;
            _ToMessages = ToMessages;
        }
    }
}
